import UIKit
import Flutter

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    GeneratedPluginRegistrant.register(with: self)
//    UserDefaults.standard.setValue("YES", forKeyPath: "SoundMode")
//    UserDefaults.standard.setValue("NO", forKeyPath: "LiveMode")
//    UserDefaults.standard.setValue("YES", forKeyPath: "ByOrder")
//    let licensePath = NSString(format: "%@.%@", FACE_LICENSE_NAME, FACE_LICENSE_SUFFIX ) as String
//    print("licensePath:" + licensePath);
//    FaceSDKManager.sharedInstance().setLicenseID(FACE_LICENSE_ID,andLocalLicenceFile: licensePath,andRemoteAuthorize: true)
//    print(FaceSDKManager.sharedInstance()?.canWork() ?? "canWork");
//    print(FaceSDKManager.sharedInstance()?.getVersion() ?? "getVersion");
    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }
}
